import request from '@/utils/request'

// 查询交易订单信息列表
export function listDeal_info(query) {
  return request({
    url: '/deal_info/deal_info/list',
    method: 'get',
    params: query
  })
}

// 查询交易订单信息详细
export function getDeal_info(infoId) {
  return request({
    url: '/deal_info/deal_info/' + infoId,
    method: 'get'
  })
}

// 新增交易订单信息
export function addDeal_info(data) {
  return request({
    url: '/deal_info/deal_info',
    method: 'post',
    data: data
  })
}

// 修改交易订单信息
export function updateDeal_info(data) {
  return request({
    url: '/deal_info/deal_info',
    method: 'put',
    data: data
  })
}

// 删除交易订单信息
export function delDeal_info(infoId) {
  return request({
    url: '/deal_info/deal_info/' + infoId,
    method: 'delete'
  })
}
